package netTracker;

public class PlaybackThread implements Runnable{

	/** Utility class with debug flag: */
	Util util = new Util(this, true);
	
	int row, col;
	NetTracker netTracker;
	
	public PlaybackThread(NetTracker netTracker, int row, int col){
		this.netTracker=netTracker;
		this.row = row;
		this.col = col;
	}
	
	public void run(){
		netTracker.getPlaybackEngine(col).playNote(netTracker.getCell(col, row));	// Play the current note.
	}
}